package com.whmskj.xjlhsc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whmskj.xjlhbc.domain.Yg01employeefiles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  
 *
 * @author lk
 * @since 2025-07-16 11:35:41
 *
 */
@Mapper
public interface Yg01employeefilesMapper extends BaseMapper<Yg01employeefiles> {
    /**
     * 查询审核人对应的员工名字
     * @param nick
     * @return
     */
    List<String> selectByVoield(String nick);

    /**
     * 获取可以奖惩的员工列表
     * @param empName
     * @return
     */
    List<Yg01employeefiles> selectEmpList(@Param("reviewName") String empName, @Param("name") String name);

    /**
     * 查询是否为产量员工
     * @param userId
     * @return
     */
    List<String> selectProductionOfStaff(String userId);

    String selectYgProcessByTypeOfWork(String typeOfWork);
}